import { createApp } from 'vue'
import FastClick from 'fastclick-hvue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'lib-flexible'
import './assets/reset.css'
// import Vue from 'vue'
console.log(process.env)
router.beforeEach((to, from, next) => {
  /* 路由发生变化修改页面title */
  if (to.meta.title) {
    document.title = to.meta.title
  }
  next()
})
FastClick.attach(document.body)
createApp(App).use(store).use(router).mount('#app')
